package com.slz3.business.module.configManagement.conZoneTemplate.service;

import com.slz3.business.module.configManagement.conZoneTemplate.domain.ConZoneTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface ConZoneTemplateService {

    ConZoneTemplate save(ConZoneTemplate conZoneTemplate);

    Page<ConZoneTemplate> page(MultiValueMap<String,String> queryParams);

    ConZoneTemplate modify(ConZoneTemplate conZoneTemplate);

    Optional<ConZoneTemplate> single(UUID uuid);

    List<ConZoneTemplate> findAllByUuids(Iterable<UUID> uuids);

    List<ConZoneTemplate> delete(List<ConZoneTemplate> conZoneTemplateList);

}
